From 59b2ed15ed3c5949186d97c21c9c021a0f22a7ef Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Wed, 29 Mar 2017 12:15:59 +0100 Subject: [PATCH] mm: use heap macro in init_node_heap ... so that it is consistent with the rest of the file. No functional change. Signed-off-by: Wei Liu Acked-by: Jan Beulich Released-acked-by: Julien Grall --- xen/common/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/page_alloc.c b/xen/common/page_alloc.c index 42c20cb201..68dba19375 100644 --- a/xen/common/page_alloc.c +++ b/xen/common/page_alloc.c @@ -574,7 +574,7 @@ static unsigned long init_node_heap(int node, unsigned long mfn, for ( i = 0; i < NR_ZONES; i++ ) for ( j = 0; j <= MAX_ORDER; j++ ) - INIT_PAGE_LIST_HEAD(&(*_heap[node])[i][j]); + INIT_PAGE_LIST_HEAD(&heap(node, i, j)); return needed; } -- 2.30.2